package com.joycessh.service.impl;

import java.sql.SQLException;

import com.joycessh.bean.User;
import com.joycessh.dao.UserDao;
import com.joycessh.dao.impl.UserDaoImpl;
import com.joycessh.service.UserService;

public class UserServiceImpl implements UserService {
	
	private UserDao userDao = new UserDaoImpl();
	
	public boolean adminLogin(User user) throws SQLException {
		return userDao.check(user);
		
	}
}
